package com.chengh.vhr.service.serviceImpl;

import com.chengh.vhr.mapper.PoliticsStatusMapper;
import com.chengh.vhr.model.Nation;
import com.chengh.vhr.model.PoliticsStatus;
import com.chengh.vhr.service.PoliticsStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: PoliticsStatusServiceImpl
 * Package: com.chengh.vhr.service.serviceImpl
 * Datetime: 2021/1/25 20:04
 * Author: chengH
 */
@Service
public class PoliticsStatusServiceImpl implements PoliticsStatusService {

    @Autowired
    PoliticsStatusMapper politicsStatusMapper;

    /**
     * @Description 获得所有的政治面貌列表
     * @return java.util.List<com.chengh.vhr.model.Nation> 
     * @Author chengh
     * @Datetime 2021/1/25 20:06
     */
    @Override
    public List<PoliticsStatus> getPoliticsStatus() {
        return politicsStatusMapper.getPoliticsStatus();
    }
}
